package com.xiangxg.jvm.classloader;

public class Mytest9 {
    static{
        System.out.println("Mytest9 static block");
    }
    public static void main(String[] args) {
        System.out.println(Child.b);
    }
}

class Parent{
   static int a = 3;
    static{
        System.out.println("Parent static block");
    }
}
class Child extends Parent{
    static int b = 4;
    static{
        System.out.println("Child static block");
    }
}
